<template>
  <div>
    <p style="font-size: 14px;margin-bottom: 15px;">标题:</p>
      <el-input size="mini" :style="{width: '100%',marginBottom:'30px'}" v-model="viewModel.title" placeholder="请输入标题标题"></el-input>
      <el-checkbox size="mini" :style="{width: '100%',marginBottom:'30px'}" v-model="viewModel.required"> 必填</el-checkbox>
  </div>
</template>

<script>

export default {
  name: "idCardConfig",
  components: {},
  props: ['currCfg'],
  data() {
    return {};
  },
  computed: {
    viewModel(){
      console.log('this.currCfg',this.currCfg)
      return  this.currCfg.config;
    }
  },
  methods: {},
  mounted() {

  }
}
</script>,
<style scoped>

</style>
